define(function (require, exports, module) {
    var template = require('../../template/_article.html');
    var ArticleManager = require('../service/article-manager');

    module.exports = {
        name: 'article',
        computed: {
            article() {
                return ArticleManager.getArticle(this.$root.$data.location.params || 0);
            }
        },
        template
    }
});